package com.lizhenyao.waimai.service;

import com.lizhenyao.waimai.dataobject.ProductCategory;

import java.util.List;

/**
 * @Author: lizhenyao
 * @Desciption: 类目
 */
public interface ICategoryService {

    ProductCategory findOne(Integer categoryId);

    List<ProductCategory> findAll();

    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);

    ProductCategory save(ProductCategory productCategory);
}
